<?php

namespace Tests\Feature;

use Tests\TestCase;

class LocaleControllerTest extends TestCase
{
  /**
   * setUpBeforeClass.
   */
  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\Locale';
    self::$table = 'locales';
    self::$searchExpr = 'name=[lk]Italiano';
    self::$searchRecord = ['code', '=', 'it_IT.UTF-8'];
    self::$toIns = [
      'country_id' => 14,
      'language_id' => 2,
      'code' => 'en_AU.UTF-8',
      'name' => 'Australian English',
    ];
    self::$searchToUpd = ['code', '=', 'en_AU.UTF-8'];
    self::$toUpd = ['name' => 'The real Australian English'];
    self::$searchToDel = ['code', '=', 'en_AU.UTF-8'];
  }
}
